package com.xnyzc.lhy.finance.entity.bank;

import com.baomidou.mybatisplus.annotation.Version;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
*
* 
*
* @author cuixiaojian
* @since 2019-10-18
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaDBindBankCard对象", description="")
public class OaDBindBankCard implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "银行卡ID")
    @TableId(value="bank_card_id", type = IdType.INPUT)
    private Long bankCardId;

    @ApiModelProperty(value = "司机ID")
    private Long driverId;

    @ApiModelProperty(value = "开户银行")
    private String bank;

    @ApiModelProperty(value = "银行卡类型")
    private String cardType;

    @ApiModelProperty(value = "银行卡号")
    private String bankCardNumber;

    @ApiModelProperty(value = "持卡人姓名")
    private String bankCardName;

    @ApiModelProperty(value = "银行卡预留手机号")
    private String bankCardPhone;

    @ApiModelProperty(value = "开户行支行")
    private String issuingPlace;

    @ApiModelProperty(value = "当前是否使用此卡")
    private Integer isUsed;

    @ApiModelProperty(value = "用户来源")
    private String tag;

    @ApiModelProperty(value = "扩展字段")
    private String expand1;

    @ApiModelProperty(value = "扩展字段")
    private String expand2;

    @ApiModelProperty(value = "扩展字段")
    private String expand3;

    @ApiModelProperty(value = "版本")
    @Version
    private Long version;

    @ApiModelProperty(value = "是否删除")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    private Long updateUser;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;


    public static final String BANK_CARD_ID = "bank_card_id";

    public static final String DRIVER_ID = "driver_id";

    public static final String BANK = "bank";

    public static final String CARD_TYPE = "card_type";

    public static final String BANK_CARD_NUMBER = "bank_card_number";

    public static final String BANK_CARD_NAME = "bank_card_name";

    public static final String BANK_CARD_PHONE = "bank_card_phone";

    public static final String IS_USED = "is_used";

    public static final String TAG = "tag";

    public static final String EXPAND1 = "expand1";

    public static final String EXPAND2 = "expand2";

    public static final String EXPAND3 = "expand3";

    public static final String VERSION = "version";

    public static final String DELETED = "deleted";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_USER = "update_user";

    public static final String UPDATE_TIME = "update_time";

}
